40. 解决方案:NOT
NOT IN 问题的解决方案
-
SELECT name, primary_poc, sales_rep_id FROM accounts WHERE name NOT IN ('Walmart', 'Target', 'Nordstrom');
2.
SELECT *
FROM web_events
WHERE channel NOT IN ('organic', 'adwords');
NOT LIKE 问题的解决方案
-
SELECT name FROM accounts WHERE name NOT LIKE 'C%';
2.
SELECT name
FROM accounts
WHERE name NOT LIKE '%one%';
-
SELECT name FROM accounts WHERE name NOT LIKE '%s';